export Function
CallbackGame ​
Constructor ​
ts
KeyboardButton.CallbackGame( text, callback_game )
Parameter | Type | Description |
---|---|---|
text | string | Label text on the button. |
callback_game | string | Description of the game that will be launched when the user presses the button. |
Return: KeyboardButtonPayload